{% extends "base.html" %}
{% block title %}Tools Send Message{% endblock %}
{% block content %}
<div class="col-lg-12">
    <div class="panel panel-info">
        <div class="panel-heading">发送短信</div>
        <div class="panel-body">
            <form class="form-inline" method="POST">
              <div class="form-group">
                <label >Phone：</label>
                <input  class="form-control" name="phone">
              </div>
              <div class="form-group">
                <label>Content：</label>
                <input class="form-control" name="content">
              </div>
              <button type="submit" class="btn btn-info">发送</button>
            </form>
        </div>
        <div class="panel-footer">
            {% if result %}
                {% if result.code == 0 %}
                    <div class="alert alert-success" role="alert">{{result.message}}</div>
                {% else %}
                    <div class="alert alert-danger" role="alert">{{result.message}}</div>
                {% endif %}

            {% endif %}
        </div>
    </div>
</div>


{% endblock %}